package model;

public class Score {
	private String stuName;
	private String courseName;
	private String scoreid;
	private String id;
	private String courseid;
	private int scoreNum;

	public Score(String scoreid, String id, String courseid, int scoreNum) {
		this.scoreid = scoreid;
		this.id = id;
		this.courseid = courseid;
		this.scoreNum = scoreNum;
	}

	public Score(String stuName, String courseName, int scoreNum) {
		this.stuName = stuName;
		this.courseName=courseName;
		this.scoreNum=scoreNum;
	}

	public String getScoreid() {
		return scoreid;
	}

	public void setScoreid(String scoreid) {
		this.scoreid = scoreid;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCourseid() {
		return courseid;
	}

	public void setCourseid(String courseid) {
		this.courseid = courseid;
	}

	public int getScore() {
		return scoreNum;
	}

	public void setScore(int scoreNum) {
		this.scoreNum = scoreNum;
	}

	public String getStuName() {
		return stuName;
	}

	public void setStuname(String stuname) {
		this.stuName = stuname;
	}

	public String getCourseName() {
		return courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}
	
	
	@Override
	public String toString() {
		return stuName+"  "+courseName+"  "+scoreNum;}

}
